.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Background */
.login-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--apple-blue);
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--apple-purple);
  bottom: -150px;
  right: -150px;
  animation-delay: -10s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: var(--apple-pink);
  top: 50%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Container */
.login-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.login-card {
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header */
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--apple-blue), var(--apple-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
}

.logo-circle svg {
  width: 40px;
  height: 40px;
}

.login-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.login-header p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.error-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: var(--radius-md);
  color: var(--apple-red);
  font-size: 0.875rem;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.captcha-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.captcha-canvas {
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.captcha-canvas:hover {
  border-color: var(--apple-blue);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
  transform: translateY(-1px);
}

.captcha-canvas:active {
  transform: translateY(0);
}

.captcha-group .apple-input {
  flex: 1;
}

.refresh-btn {
  flex: 0 0 auto;
  padding: 0.75rem;
  min-width: auto;
}

.refresh-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.refresh-btn:active svg {
  animation: spin 0.5s ease-out;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.submit-btn {
  margin-top: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.login-footer {
  margin-top: 2rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.back-to-home {
  background: none;
  border: none;
  color: var(--apple-blue);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast);
}

.back-to-home:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 480px) {
  .login-card {
    padding: 2rem 1.5rem;
  }

  .login-header h1 {
    font-size: 1.5rem;
  }

  .captcha-group {
    flex-wrap: wrap;
  }

  .captcha-question {
    flex: 1 1 100%;
  }
}

